import { axios } from '../../../utils/request'

const api = {
    save: '/finance/payment/save',
    getcode: '/finance/payment/getCode',//编码
    examine: '/finance/payment/examine',
    delete: '/finance/payment/delete',
}
/**
 * 保存
 */
export function save(data) {
    return axios({
        url: api.save,
        method: "post",
        data: data
    })
}

/**
 * 审核
 */
export function examine(data) {
    return axios({
        url: api.examine,
        method: "get",
        params: data
    })
}

/**
 * 获取编码
 */
export function getCode(data) {
    return axios({
        url: api.getcode,
        method: "get",
        params: data
    })
}

/**
 * 删除
 */
export function remove(data) {
    return axios({
        url: api.delete,
        method: "delete",
        params: data
    })
}

